• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

code challenge

[프로그래머스](python) 음양 더하기 - 월간 코드 챌린지 시즌2

🧩 수도 코드 absolutes, signs의 리스트를 합친 후 True이면 그대로 리스트에 더하고 False이면 * -1하여 음수 만들어줌 🏁 내 풀이 zip으로 리스트 합친 후 i[1]에 있는 signs로 True or False인지 판별 True 면 리스트에 그대로 추가, False면 -1을 곱해 음수로 추가 sum(리스트) 하여 return 🧩 다른 풀이 for absolutes, s...

Lv1pythoncode challengeprogrammersalgorithmLv1

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more